import request from '@/utils/request'

// 查询土建结构技术状况评定列表
export function listTotal(query) {
  return request({
    url: '/civil/total/list',
    method: 'get',
    params: query
  })
}

// 查询土建结构技术状况评定详细
export function getTotal(technologyId) {
  return request({
    url: '/civil/total/' + technologyId,
    method: 'get'
  })
}

// 新增土建结构技术状况评定
export function addTotal(data) {
  return request({
    url: '/civil/total',
    method: 'post',
    data: data
  })
}

// 修改土建结构技术状况评定
export function updateTotal(data) {
  return request({
    url: '/civil/total',
    method: 'put',
    data: data
  })
}

// 删除土建结构技术状况评定
export function delTotal(technologyId) {
  return request({
    url: '/civil/total/' + technologyId,
    method: 'delete'
  })
}



export function exportTotal(query) {
  return request({
    url: '/civil/total/export',
    method: 'get',
    params: query
  })
}
